package com.ruoyi.system.domain.vo.reportstatistics;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.FileObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@ToString
public class MileageStatistics {
    //车牌号
    @Excel(name = "设备名称")
    private String numberPlate;
    //所属公司
    @Excel(name = "所属公司")
    private String companyName;
    //里程(km)
    @Excel(name = "行驶里程(km)")
    public Double kilometer;
    //行驶时长
    @Excel(name = "行驶时长(min)")
    public Double driverMinutes;
    //统计日期
    @Excel(name = "统计日期",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date day;
    //设备号
    private String dvo;
    //油耗
    private Double oilConsumption;
    //行驶里程
    private Integer mileage;
    //公司简称
    private String companyShortName;
    //公司Id
    private Long companyId;
    //负责人
    private String name;
    //图片
    private List<FileObject> picture;
}
